jQuery(function ($) {
    //名家热榜
    $('.famous_hot_list_bottom_right li').mouseover(function () {
        var name = $(this).find('div').attr('data-name');
        var artist_id = $(this).find('div').attr('data-id');
        var goods_at = $(this).find('div').attr('data-goods_at');
        var chenghao = $(this).find('div').attr('data-chenghao');
        var selling_num = $(this).find('div').attr('data-selling_num');
        var portrait = $(this).find('div').attr('data-portrait');
        var desc = $(this).find('div').attr('data-desc');
        $('.famous_hot_list_bottom_left').empty();

        $('.famous_hot_list_bottom_left').append(' <li class="open clearfix">\n                        <div class="famous_hot_list_bottom_left_pic">\n                            <div>\n                                <a href="/mj/zuozhe-' + artist_id + '/" target="_blank"><img  src="' + isImgHttp(portrait) + '" alt="' + name + '"></a>\n                            </div>\n                            <div class="famous_hot_list_bottom_left_pic_introduce">\n                                <a href="/mj/zuozhe-' + artist_id + '/" target="_blank"><span>' + chenghao + '</span></a><br/>\n                                <span>\u5728\u552E<span style="color:#E82C17">' + selling_num + '</span>\u4EF6\u4F5C\u54C1</span>\n                            </div>\n                        </div>\n                        <div class="famous_hot_list_character_details">\n                            <h2><a href="/mj/zuozhe-' + artist_id + '/" target="_blank">' + name + '</a></h2>\n                            <a href="/mj/zuozhe-' + artist_id + '/" target="_blank"><span>' + goods_at + '</span></a>\n                            <p><a href="/mj/zuozhe-' + artist_id + '/" target="_blank">' + desc + '</a></p>\n                        </div>\n                    </li>');
    });
    $('.mingjia_article_right .smallbox').mouseover(function () {
        var name = $(this).attr('data-name');
        var artist_id = $(this).attr('data-id');
        var goods_at = $(this).attr('data-goods_at');
        var chenghao = $(this).attr('data-chenghao');
        var selling_num = $(this).attr('data-selling_num');
        var portrait = $(this).attr('data-portrait');
        var desc = $(this).attr('data-desc');
        $('.mingjia_article_left').empty();
        $('.mingjia_article_left').append(' <div class="portrait_box">\
                    <a target="_blank" href="/mj/zuozhe-' + artist_id + '/"><img src="' + isImgHttp(portrait) + '" alt=""></a>\
                    <div class="intro_box">\
                        <p><a  target="_blank" href="/mj/zuozhe-' + artist_id + '/"  class="name">' + name + '</a></p>\
                        <p><a target="_blank"  href="/mj/zuozhe-' + artist_id + '/" class="title">' + goods_at + '</a></p>\
                        <p><a  target="_blank" href="/mj/zuozhe-' + artist_id + '/">'+chenghao+'</a></p>\
                        <p>在售商品:<span>'+selling_num+'</span>件</p>\
                    </div>\
                </div>\
            <p class="mingjiaMsg"><a target="_blank" href="/mj/zuozhe-' + artist_id + '/"  class="aticle">' + desc + '</a></p>')
        // $('.mingjia_article_left').append('<div class="portrait_box">\n                    <a href="/mj/zuozhe-' + artist_id + '/" target="_blank">\n                        <img src="' + isImgHttp(portrait) + '" alt="">\n                    </a>\n                    <p>' + chenghao + '</p>\n                    <p>\u5728\u552E<span>' + selling_num + '</span>\u4EF6\u4F5C\u54C1</p>\n                </div>\n                <div class="intro_box">\n                    <p class="name">\n                    <a href="/mj/zuozhe-' + artist_id + '/" target="_blank">' + name + '</a>\n                    </p>\n                    <p class="title">' + goods_at + '</p>\n                    <p class="aticle">' + desc + '</p>\n                </div>');
    });
});